Skip to main content

items

Type

keyword

Summary

Used with the sort command, number function, and is among and is not among properties to designate the comma-delimited portions (or portions delimited by the character in the itemDelimiter property) of a string.

Syntax

items

Description

Use the items keyword to sort or select individual items.

By default, an item is delimited by commas (,). However, you can set the itemDelimiter property to any character in order to directly address chunks delimited by that character. For example, you can set the itemDelimiter to tab in order to handle a database file whose fields are tab-delimited.

An item is a string of characters delimited by commas (or the itemDelimiter character). A single item can contain multiple characters, multiple words, and multiple lines.

Examples

if it is not among the items of field "Possible Answers" then beep
sort items of myVariable

control structure: function

function: number, itemOffset

glossary: property, keyword, command, delimit, chunk

keyword: characters, string, item, character, lines, words, items

operator: is among, is not among

property: properties, itemDelimiter

command: sort, select

constant: tab

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?